Freshers / Beginner level questions
Freshers / Beginner level questions & answers
Ques 1. What is JCL?
JCL stands for Job Control Language. It is a scripting language used on IBM mainframe operating systems to instruct the system on how to run a batch job or start a subsystem.
Example:
//JOBNAME JOB ...,CLASS=A,MSGCLASS=X
Ques 2. What is a DD statement in JCL?
DD (Data Definition) statement is used to define input and output datasets for a program or job step in JCL.
Example:
//INPUT DD DSN=INPUT.FILE,DISP=SHR
Ques 3. Explain the function of DISP parameter in JCL.
DISP (Disposition) parameter is used to specify what should happen to a dataset after the job step completes, such as DELETE, KEEP, or CATLG.
Example:
//OUTPUT DD DSN=OUTPUT.FILE,DISP=(NEW,CATLG,DELETE)
Ques 4. What is the purpose of the SYSOUT parameter in JCL?
SYSOUT is used to specify the destination for the system output produced by a job step, such as a printer or a dataset.
Example:
//STEP1 EXEC PGM=XYZ,SYSOUT=A
Ques 5. What is the significance of the NOTIFY parameter in JCL?
The NOTIFY parameter is used to specify the user who should receive job completion or error messages. It is used for notification purposes.
Example:
//JOBNAME JOB ...,NOTIFY=USERID
Ques 6. What is the purpose of the MSGLEVEL parameter in JCL?
The MSGLEVEL parameter is used to control the amount of system messages written to the job log. It can be set to options like (1,1), (1,2), (2,2), etc.
Example:
//JOBNAME JOB ...,MSGLEVEL=(1,2)
Most helpful rated by users: